/**
 * Created by Administrator on 2016/9/6.
 */
/*********************************以下是input搜索框部分*******************************************/
define(['jquery'],function(){
    $(function(){
        var oDiv=$('#shopCart');
        $('#shopSlide').mouseenter=oDiv.mouseenter(function()
        {
            $('#triangle').addClass('triangle');
            oDiv.css({"width":"240"});
            $('#shopSlide').addClass('Slide');
        });
        $('#shopSlide').mouseleave=oDiv.mouseleave(function()
        {
            $('#triangle').removeClass('triangle');
            oDiv.css({"width":"200"});
            $('#shopSlide').removeClass('Slide');
            $('#shopSlide').addClass('shopSlide');
        });
    });
});

